package com.ms.demo;

/**
 * @description: 创建具体的ColdDrink类  Pepsi百事可乐
 * @author: ms
 * @create: 2022-10-24 10:27
 */
public class Pepsi extends ColdDrink {
    @Override
    public String name() {
        return "百事可乐";
    }

    @Override
    public float price() {
        return 10f;
    }
}